{include file="public_tpl/head"/}
<title>友链管理 - 友链列表 - {$cfg_website}</title>
<meta name="keywords" content="{$cfg_keywords?:''}">
<meta name="description" content="{$cfg_description?:''}">
<style>
    .loading {
        height: 30px;
    }
</style>
</head>
<body>
<div class="page-container">
    <table class="table table-border table-bordered table-bg">
        <thead>
        <tr>
            <th colspan="7" scope="col">信息统计</th>
        </tr>
        <tr class="text-c">
            <th>文章</th>
            <th>分类</th>
            <th>标签</th>
            <th>留言</th>
            <th>未审核留言</th>
            <th>评论</th>
            <th>未审核评论</th>
        </tr>
        </thead>
        <tbody>
        <tr class="text-c">
            <td id="a"><span>loading</span></td>
            <td id="b"><span>loading</span></td>
            <td id="c"><span>loading</span></td>
            <td id="d"><span>loading</span></td>
            <td id="e"><span>loading</span></td>
            <td id="f"><span>loading</span></td>
            <td id="g"><span>loading</span></td>
        </tr>
        </tbody>
    </table>
</div>
<div class="page-container">
    <table class="table table-border table-bordered table-bg">
        <thead>
        <tr>
            <th colspan="2" scope="col">系统信息</th>
        </tr>
        </thead>
        <tbody>
        <tr class="text-c">
            <td width="200">系统</td>
            <td>{:PHP_OS}</td>
        </tr>
        <tr class="text-c">
            <td width="200">php版本</td>
            <td>{:PHP_VERSION}</td>
        </tr>
        <tr class="text-c">
            <td width="200">运行方式</td>
            <td>{:PHP_SAPI}</td>
        </tr>
        </tbody>
    </table>
</div>
{include file="public_tpl/script"/}
<script>
    $("#a").load('{:url("admin/get.index_api/getArtNum")}');
    $("#b").load('{:url("admin/get.index_api/getCateNum")}');
    $("#c").load('{:url("admin/get.index_api/getTagsNum")}');
    $("#d").load('{:url("admin/get.index_api/getGbNum")}');
    $("#e").load('{:url("admin/get.index_api/getGbunNum")}');
    $("#f").load('{:url("admin/get.index_api/getCmNum")}');
    $("#g").load('{:url("admin/get.index_api/getCmunNum")}');
</script>
</body>
</html>